<?php

class Model_TestDbTable extends Zend_Db_Table_Abstract
{
	protected $_name = 'PHPUnitTest';
}

class Model_TestMapper extends Plus_Model_Mapper_DbTable_Abstract
{
	public function __construct()
	{
		$dbTable = new Model_TestDbTable();
		$modelClassName = 'Model_TestModel';
		parent::__construct($dbTable, $modelClassName);
	}
}

class Model_TestModel extends Plus_Model_Model_Abstract
{
	protected $_title;
	protected $_size;
	
	public function __construct(array $options)
	{
		parent::__construct($options, 'Model_TestMapper');
	} 
	
	public function setTitle($title)
	{
		$this->_title = $title;
	}
	
	public function getTitle()
	{
		return $this->_title;
	}
	
	public function setSize($size)
	{
		$this->_size = $size;
	}
	
	public function getSize()
	{
		return $this->_size;
	}
}